package com.seaengine.actor.anibmp.characterbmp
{
	public class CharacterFrameNodeInfo
	{
		public var m_frameNumber:int;
		public var m_offsetx:int;
		public var m_offsety:int;
		public var m_weaponID:int;
		public var m_effectList:Array;
		public var m_iDefend:int;
		public var m_nextActionId:int=-1;
		public var m_bShake:Boolean;
		public var m_defendEffectId:String;
		public var soundID:String;
		
		public function CharacterFrameNodeInfo(_num:int,_x:int, _y:int,_weaponId:int,_effectStr:String, _iShake:int, _defend:String,_defendEffectId:String,_nextAction:int,sound:String="")
		{
			m_frameNumber = _num;
			m_offsetx = _x;
			m_offsety = _y;
			m_weaponID = _weaponId;
			m_nextActionId=_nextAction;
			soundID = sound;
			if(_effectStr != "")
			{
				m_effectList = _effectStr.split(",");
			}
			if(_defend == "")
			{
				m_iDefend = -1;
			}
			else
			{
				m_iDefend = Number(_defend);
			}
			if (_iShake == 1)
				m_bShake = true;
			m_defendEffectId=_defendEffectId;
		}
	}
}